From: Florian Müllner Date: Thu, 12 Sep 2019 12:50:22 +0000 (+0200) Subject: ci: Disable MR handling for now X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~811^2^2~86 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=f00201fa6ca92de3e1c63fb499ea33f610ea02b9;p=gnome-shell.git ci: Disable MR handling for now We aren't quite ready to enforce non-legacy style for now, mostly due to the xgettext bug that prevents us from using template strings in some places, and vast amounts of legacy indentation. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/716 --- diff --git a/.gitlab-ci/run-eslint.sh b/.gitlab-ci/run-eslint.sh index 8466d97c3..ae4aee979 100755 --- a/.gitlab-ci/run-eslint.sh +++ b/.gitlab-ci/run-eslint.sh @@ -66,6 +66,10 @@ create_common() { rm $OUTPUT_FINAL.tmp } +# Disable MR handling for now. We aren't ready to enforce +# non-legacy style just yet ... +unset CI_MERGE_REQUEST_TARGET_BRANCH_NAME + if [ "$CI_MERGE_REQUEST_TARGET_BRANCH_NAME" ]; then git fetch $CI_MERGE_REQUEST_PROJECT_URL.git $CI_MERGE_REQUEST_TARGET_BRANCH_NAME branch_point=$(git merge-base HEAD FETCH_HEAD)